package com.outfood.domain;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @description food_rule
 * @author BEJSON
 * @date 2024-03-25
 */
@Data
@Table(name = "food_rule")
public class Rule implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @KeySql(useGeneratedKeys = true)
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 店铺ID
     */
    private Long storeId;

    /**
     * 单位分钟
     */
    private Integer time;

    /**
     * create_user
     */
    private String createUser;

    /**
     * create_date
     */
    private Date createDate;

    /**
     * modify_user
     */
    private String modifyUser;

    /**
     * modify_date
     */
    private Date modifyDate;

    /**
     * state
     */
    private String state;

}